/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model.information;

import java.io.Serializable;
import java.util.Observable;

/**
 * A class that represents a set in a workout.
 * @author Tobias Møller Kjærsgaard
 * @author Hjalte Blichfeldt Flyger
 * @author Gitte Simonsen
 * @author Claus Lund
 */
public class Set extends Observable implements Serializable {

    //////// Fields ////////

    private String name;
    private int sets;
    private int reps;
    private int weight;

    //////// Constructor ////////

    public Set(String name) {
        this.name = name;
    }

    //////// Getters & Setters ////////

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getReps() {
        return reps;
    }

    public void setReps(int reps) {
        this.reps = reps;
    }

    public int getSets() {
        return sets;
    }

    public void setSets(int sets) {
        this.sets = sets;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
}
